function L = listOfCells(whichList)
% listOfCells

% editing:
% gs jan 2008
% ------------------------------------------------------
if nargin == 0
    whichList = 'sM1'; % somatic M1, for W paper/project

% lists:
% whichList = 'sM1';
% whichList = 'vM1';
% whichList = 'vS1';
end

switch whichList
    case 'sM1'
        listOfCells = {
            'NW0148_100sp'
            'NW0199_100sp'
            'NW0200_100sp'
            'NW0201_100sp' % NB: iffy quality recording
            'NW0205_100sp'
            'NW0209_100sp'
            %     'LW0194_100sp' % exclude for now because xSM = 1848
            'LW0196cm'
            'LW0197cm'
            %     'LW0205_100sp' % NB: xSM is 1468
            'LW0261cm'
            'LW0262cm'
            'LW0264cm'
            'LW0265cm'
            'LW0266cm'
            'LW0267cm'
            'LW0268cm'
            'LW0271cm'
            'gs2139'
            'gs2140'
            'gs2141'
            'gs2143'
            'gs2145'
            %     'LW0272' % done; % OVERLY EXCITABLE AND POOR RECORDING: CONSIDER EXCLUDING
            'LW0273cm'
            'LW0274cm'
            'LW0275cm'
            'gs2146'
            'gs2147'
            'gs2148'
            'JY0025'
            'JY0026'
            'gs2150'
            'gs2151'
            'gs2152'
            'gs2154'
            'gs2155'
            'gs2156'
            'gs2157'
            'gs2158'
            'gs2159'
            'gs2160'
            'gs2161'
            'gs2162'
            'gs2163'
            'LW0279cm' % soma is 100 off to the left
            'LW0280cm'
            'LW0282cm' % done; QUALITY ISSUES
            'JY0032'
            %     'JY0033' % rather close to S1 border; xSM = 353
            'JY0034'
            'JY0035'
            'gs2167'
            'gs2170'
            'gs2171'
            'gs2172'
            'gs2173'
            'gs2174' % done; % CHOPPY
            'JY0037'
            'JY0038'
            'JY0040'
            'JY0041'
            'gs2175'
            'gs2176'
            'gs2178'
            'gs2179'
            'gs2180'
            'gs2182' % done; % NOISY; CONSIDER EXCLUDING
            %     'gs2183' % yfp+ L6
            %     'gs2184' % yfp+ L5, close to S1
            %     'gs2185' % yfp- L5
            'gs2186'
            %     'JY0043' % yfp+ L5
            %     'JY0044' % yfp+ L5
            'gs2188'
            'gs2190'
            'gs2191'
            'gs2192'
            %     'JY0045' % yfp+ L5
            'gs2193'
            'gs2194'
            'gs2195'
            %     'gs2196' % NB: xSM = 1631
            %     'gs2197' % NB: xSM = 1669
            'gs2198'
            'JY0047'
            'gs2203'
            'gs2204'
            'gs2205'
            'gs2207'
            'gs2208' % done; % mediocre recording! CONSIDER EXCLUDING
            'gs2209' % done; % single map (map 1 corrupt)
            'gs2210'
            'gs2211'
            'gs2212' % done; % single map (map 2 corrupt)
            'gs2213' % done; % maps 1 and 3 corrupt o/w good
            'gs2215'
            'gs2218'
            'gs2219'
            'LW0294cm'
            'gs2220'
            'gs2222'
            'gs2223'
            'gs2224'
            'JY0073'
            %     'JY0074' % rather close to S1 border; xSM = 315
            'JY0075'
            % %     'gs2334' % new batch of cells starts here -- June 2007
            % %     'gs2335'
            % %     'gs2336'
            % %     'gs2337'
            % %     'gs2338'
            % %     'gs2339'
            % %     'gs2340'
            % %     'gs2341'
            % %     'gs2342'
            % %     'gs2343'
            % %     'gs2344'
            % %     'gs2345'
            %     'gs2348' % expt prior to this was gabazine -- looks hyperexcitable
            'gs2368'
            'gs2369'
            'gs2370'
            'gs2372'
            'gs2373'
            'gs2374'
            'gs2375'
            'gs2376'
            };

        % ============ very anterior M1 cells =============
        % listOfCells = {
        %     'LW0194_100sp' % xSM = 1848
        %     'LW0205_100sp' % xSM = 1468
        %     'gs2196' % xSM = 1631
        %     'gs2197' % xSM = 1669
        %     };

        % ============ M1 cells close to S1 =============
        % listOfCells = {
        %     'JY0033' % rather close to S1 border; xSM = 353
        %     'JY0074' % rather close to S1 border; xSM = 315
        %     };

        % ============ S1 cells (100 spacing) =============
        % listOfCells = {'
        %     };
    case 'vM1'
        listOfCells = {
%             'mh0039ana' % vM1; Vr -55; p18; 0.21 -- lacks soma xy values
            'mh0040ana' % vM1; Vr -53; p18; 0.45
            'mh0041ana' % vM1; Vr -47; p18; 0.64
            'mh0042ana' % vM1; Vr -48; p18; 0.8
            'mh0043ana' % vM1; Vr -66; p18; 0.55
            'mh0044ana' % vM1; Vr -60; p19; 0.43
            'mh0045ana' % vM1; Vr -63; p19; 0.26
            'mh0046ana' % vM1; Vr -61; p19; 0.58
            'mh0047ana' % vM1; Vr -47; p19; 0.55
            'mh0048ana' % vM1; Vr -41; p19; 0.44
            'mh0049ana' % vM1; Vr -73; p20; 0.44
            'mh0051ana' % vM1; Vr -57; p20; 0.62; 'lots of activity'
            'mh0052ana' % vM1; Vr -43; p20; 0.2
            'mh0053ana' % vM1; Vr -57; p20; 0.71
            'mh0055ana' % vM1; Vr -62; p20; 0.54
            'mh0057ana' % vM1; Vr -70; p20; 0.65
            'mh0058ana' % vM1; Vr -40; p20; 0.49
            'mh0061ana' % vM1; Vr -61; p21; 0.29
            'mh0065ana' % vM1; Vr -66; p23; 0.63 -- L? (or R??)
            'mh0066ana' % vM1; Vr -53; p23; 0.46
            'mh0067ana' % vM1; Vr -66; p23; 0.55 -- L? (or R?)
            'mh0068ana' % vM1; Vr -59; p23; 0.24
            'mh0069ana' % vM1; Vr -63; p22; 0.48
            'mh0071ana' % vM1; Vr -65; p22; 0.29
            'mh0072ana' % vM1; Vr -69; p22; 0.8
            'mh0073ana' % vM1; Vr -65; p22; 0.37
            'mh0074ana' % vM1; Vr -62; p22; 0.62
            'mh0079ana' % vM1; Vr -64; p23; 0.22
            'mh0080ana' % vM1; Vr -62; p23; 0.61
            'mh0081ana' % vM1; Vr -70; p23; 0.18
            'mh0083ana' % vM1; Vr -60; p24; 0.62
            'mh0086ana' % vM1; Vr -59; p24; 0.46
            'mh0087ana' % vM1; Vr -58; p24; 0.49
            'mh0088ana' % vM1; Vr -58; p24; 0.3
            'mh0091ana' % vM1; Vr -76; p24; 0.24
            'mh0092ana' % vM1; Vr -52; p24; 0.61 -- confirm L
            'mh0093ana' % vM1; Vr -55; p24; 0.35
            'mh0095ana' % vM1; Vr -63; p24; 0.65
            'mh0096ana' % vM1; Vr -66; p24; 0.5
            'mh0097ana' % vM1; Vr -71; p24; 0.5
            'mh0098ana' % vM1; Vr -54; p24; 0.32
            };
    case 'vS1'
        listOfCells = {
            'mh0100ana' % S1; Vr -58; p21; 0.64
            'mh0101ana' % S1; looks good; p21; ~L2
            };
end

% notes, 1/2/08:
% (1) Vr criterion: at least -60 (else don't record);
% (2) always note soma Z; Z should be at least 50 um
% (3) p21 to p28
% (4) sessions <3 hr
% (5) EPs
% (6) try for power of 20 exactly